{temp('html/recruit/pc/head')}
<script>
function shuax(id){//刷新
	$.post('{$_url}/?act=ruser&met=resume_sx',{id:id},function(data){
		if(data == 'ok'){
			location.href='{$_url}/?act=ruser&met=resume';
		}else{
			alert(data);
		}
	});
}
function shanc(id){//删除
	$.post('{$_url}/?act=ruser&met=resume_sc',{id:id},function(data){
		if(data == '删除成功'){
			location.href='{$_url}/?act=ruser&met=resume';
		}else{
			alert(data);
		}
	});
}
</script>
</head>
<body>
	{temp('html/recruit/pc/ruser/toubu')}

		<!--主体内容-->
		<div class="w_bai dis_inline t_m10 t_c">
			<!--详细-->
			<div class="w_1100 auto_0">
				<!--左侧-->
				<div class="w_286 f_l c_656565 bc_FFF bor_C6 xddw" style="margin-top:-64px">
					<!--右阴影图片-->
					<div class="f_r xddw" style="margin-right:-38px;margin-top:-1px">
						<img src="{$style}/images/yinying_you2.png">
					</div>
					<!--右阴影图片结束-->
					<!--标题-->
					<div class="h_50 l_h50 f_s18 bc_127ABF c_FFF t_l">
						<span class="l_m20">管理简历</span>
					</div>
					<!--标题结束-->
					<!--列表-->
					<div id="geren_zuo">
						<ul>
							<li id="list2">
								<a href="{$_url}/?act=ruser&met=resume_tj">创建简历</a>
							</li>
							<div class="bor_C6 bor_di_none t_m5"></div>
	
							<li id="list">
								<a href="{$_url}/?act=ruser&met=resume">管理简历</a>
							</li>
							<div class="bor_C6 bor_di_none t_m5"></div>
						</ul>
					</div>
					<!--列表结束-->
				</div>
				<!--左侧结束-->
				<!--右侧-->
				<div class="w_804 l_m5 f_r bc_FFF bor_C6">
					<!--标题-->
					<div class="t_m15 l_m20 t_l">
						<span class="f_s20 c_323131">管理简历</span>
						<span class="c_7D7D7D">(创建，修改，删除简历)</span>
					</div>
					<!--标题结束-->
					<!--分割线-->
					<div class="bor_C6 bor_di_none t_m10"></div>
					<!--分割线结束-->
					<!--全职提示字-->
					<div class="t_m15 l_m20 c_656565 t_l">
						<p class="f_s16">全职简历列表</p>
						<p class="t_m5">您目前共有 {if(@$tj['quanzhi'])}{$tj['quanzhi']}{else}0{/if} 份全职简历</p>
					</div>
					<!--全职提示字结束-->
					<!--全职内容-->
					<div class="dis_inline t_m25 c_656565">
						<!--列表-->
						<div id="table2">
							<li class="bc_D1D1D1">
								<div class="left1">简历名称</div>
								<div class="left2">开放设置</div>
								<div class="left3">更新时间</div>
								<div class="right">操作</div>
							</li>
							{if(@$quan)}
	  	   	     			{foreach($quan as $k=>$v)}
	  	   	     			<li>
	  	   	     				<div class="left1">{$v['title']}</div>
	  	   	     				<div class="left2 c_E06400 point" onClick="shezhi({$v['id']})">
									<div class="f_l l_m28" style="_margin-left:15px">{if($v['type'] == 1)}保密简历{else}开放简历{/if}</div>
									<div class="xiala f_l l_m5 t_m20"></div>
								</div>
	  	   	     				<div class="left3 ">{code(echo date('Y-m-d',$v['utime']))}</div>
	  	   	     				<div class="right c_1379BF l_h21">
									<p class="t_m5">
										<span class="point" onClick="window.location.href='{$_url}/?act=ruser&met=resume_look&id={$v['id']}'">预览</span>
										<span class="l_m5 point" onClick="window.location.href='{$_url}/?act=ruser&met=resume_bj&id={$v['id']}'">修改</span>
										<span class="l_m5 point" onClick="shuax({$v['id']})">刷新</span>
										<span class="l_m5 point" onClick="shanc({$v['id']})">删除</span>
									</p>
									<p>
										<span class="point" onClick="window.location.href='{$_url}/?act=ruser&met=resume_cj&zt=0&id={$v['id']}'">复制新增简历</span>
										<span class="l_m5 point" onClick="window.location.href='{$_url}/?act=ruser&met=resume_xiazai&id={$v['id']}'">下载为Word文档</span>
									</p>
								</div>
	  	   	     			</li>
	  	   	     			{/foreach}
	  	   	     			{/if}
						</div>
						<!--列表结束-->
					</div>
					<!--全职内容结束-->
					<!--兼职提示字-->
					<div class="t_m15 l_m20 c_656565 t_l">
						<p class="f_s16">兼职简历列表</p>
						<p class="t_m5">您目前共有 {if(@$tj['jianzhi'])}{$tj['jianzhi']}{else}0{/if} 份兼职简历</p>
					</div>
					<!--兼职提示字结束-->
					<!--兼职内容-->
					<div class="dis_inline t_m25 c_656565 t_l" style="margin-left:0px!important;margin-left:20px">
						<!--列表-->
						{if(@$jian['data'])}
						<div id="table2">
							<li class="bc_D1D1D1">
								<div class="left1">职位类别</div>
								<div class="left2">开放设置</div>
								<div class="left3">更新时间</div>
								<div class="right">操作</div>
							</li>
	  	   	     			{foreach($jian['data'] as $k=>$v)}
	  	   	     			<li>
	  	   	     				<div class="left1">{$v['zwname']}</div>
	  	   	     				<div class="left2 c_E06400 point" onClick="shezhi({$v['id']})">
									<div class="f_l l_m28"  style="_margin-left:15px">{if($v['type'] == 1)}保密简历{else}开放简历{/if}</div>
									<div class="xiala f_l l_m5 t_m20"></div>
								</div>
								<div class="left3 ">{code(echo date('Y-m-d',$v['utime']))}</div>
								<div class="right c_1379BF l_h21">
									<p class="t_m5">
										<span class="point" onClick="window.location.href='{$_url}/?act=ruser&met=resume_look&id={$v['id']}'">预览</span>
										<span class="l_m5 point" onClick="window.location.href='{$_url}/?act=ruser&met=resume_bj&id={$v['id']}'">修改</span>
										<span class="l_m5 point" onClick="shuax({$v['id']})">刷新</span>
										<span class="l_m5 point" onClick="shanc({$v['id']})">删除</span>
									</p>
									<p>
										<span class="point" onClick="window.location.href='{$_url}/?act=ruser&met=resume_cj&zt=1&id={$v['id']}'">复制新增简历</span>
										<span class="l_m5 point" onClick="window.location.href='{$_url}/?act=ruser&met=resume_xiazai&id={$v['id']}'">下载为Word文档</span>
									</p>
								</div>
	  	   	     			</li>
	  	   	     			{/foreach}
						</div>
						<!--列表结束-->
						<div class="qfd"></div>
						<!--翻页-->
						<div id="zhuce" class="f_l w_bai t_m25 b_m20">
							{pager($jian['count'],$pagesize)}
						</div>
						<!--翻页结束-->
						{/if}
					</div>
					<!--兼职内容结束-->
					<!--友情提示-->
					<div class="t_m10 c_656565 t_l" style="margin-left:28px!important;margin-left:20px">
						<p>思凯人力资源友情提醒</p>
						<p class="t_m5">思凯人力资源网的招聘企业都经过严格的资质审核和营业执照备案！</p>
						<p class="t_m5">接到企业的面试通知时请到思凯人力资源网上对该单位的招聘信息予以核实！</p>
					</div>
					<!--友情提示结束-->
					<!--确认按钮-->
					<div class="t_m40 b_m50 t_l" style="margin-left:28px!important;margin-left:20px">
						<div id="bai" class="w_200 h_35 l_h35 bc_E16400 t_c point">
							<a href="{$_url}/?act=ruser&met=resume_tj">创建一份新简历</a>
						</div>
					</div>
					<!--确认按钮结束-->
				</div>
				<!--右侧结束-->
			</div>
			<!--详细结束-->
		</div>
		<!--主体内容结束-->
	<script type="text/javascript">
		function shezhi(id){
			art.dialog.open('{$_url}/?act=ruser&met=resume_type&id='+id,{id:'kaifang',width :470,height:200,title:'',lock:true},false);
		}
		function closeWindow(){
			art.dialog.list['kaifang'].close();
		}
	</script>
{temp('html/recruit/pc/foot')}